package game.players.states;

import game.players.SoccerPlayer;

import com.uqbar.vainilla.DeltaState;

public abstract class PlayerState {
	
	private SoccerPlayer player;
	
	public PlayerState(SoccerPlayer player) {
		this.setPlayer(player);
	}
	
	public abstract void update(DeltaState deltaState);
	
	public abstract boolean isWithBall();	

	public SoccerPlayer getPlayer() {
		return player;
	}

	public void setPlayer(SoccerPlayer player) {
		this.player = player;
	}
	
}
